import Layout from '@/layout'
const priceRouter = {
  path: '/price',
  component: Layout,
  redirect: '/price/group',
  name: 'price',
  alwaysShow: true,
  meta: {
    type: 'I',
    roles: ['3010', '3020'],
    title: '价格',
    icon: 'price'
  },
  children: [{
    path: 'group',
    component: () => import('@/views/price/group'),
    name: 'PriceGroup',
    meta: {
      type: 'I',
      roles: ['3010', '301010', '301020', '301030', '301040', '301050', '301060', '301070'],
      title: '价格组'
    }
  }, {
    path: 'index',
    component: () => import('@/views/price/index'),
    name: 'PriceIndex',
    meta: {
      type: 'I',
      roles: ['3020', '302010', '302020', '302030', '302040'],
      title: '价格设定'
    }
  }]
}

// G,财务管理
// I,分销管理
// S,系统管理

export default priceRouter
